﻿<%@ Control Language="c#" AutoEventWireup="false" Inherits="Web.Control.WWW.Session.sessionStateF" %>
<div class="common">
	<div id="new_body">
		<div id="body_900">
			<div id="body_left"></div>
			<div id="body_main">
				<div class="title">
					<%if(isshow){ %><h1><%=GetText("Dispute Session") %></h1><%}else{ %> <h1>The status of the session has changed</h1><%} %>
				</div>
				<div class="Center9001n">
					<div class="Center9001Left">
						<div class="right_layerA">
							<div class="layer_contentA">
								<div class="layer_contentA5">
									<div class="card">
										<div class="floatl"><a href="<%=WWWHost %>/<%=sm.TNO %>T.htm" title="<%=sm.TNickname %>"><img src="<%=sm.TAvatar==""?"/Images/no_pic.gif":sm.TAvatar %>" width="50" height="50" border="0" /></a></div>
										<div class="floatr"><strong><%=sm.TNickname%></strong>
										<p><img src="/Images/fbapp_level_<%=StarRate.ToString("N0")%>.gif" title="Rating: <%=StarRate.ToString("N2")%>" /></p><span class="grey11"><%=GetText("C0102",new string[]{BLF.StaticData.GetCountryText(Nationality)}) %></span>
										
										</div>
										<div class="cleartm"></div>
									</div>
								</div>
							</div>
						</div>
					</div>
					<%if(isshow){ %>
					<div class="Center9001Right">
							<div class="center9001content">
								<div class="teach_area">
									<div class="session_active">
									<p>Session ID: <a href="<%=WWWHost %>/session/session.htm?sid=<%=sm.SessionID %>"><%=sm.SessionID %></a></p>
									<p>Payment ID: <%=GetPayID(sm.SessionID) %></p>
									</div>
									<div class="session_rate">
										<p><strong>Note</strong></p>
										<p>If you have any supporting documentation or evidence for your dispute, please submit it to italki. Once a student has lodged a dispute, the teacher will have 14 days to respond. italki will arbitrate the dispute and take the appropriate action according to the Terms of Service.  All judgements and decisions made by italki in any session dispute are final. Documentation can be sent to <a href="mailto:dispute@italki.com">dispute@italki.com</a>. Please include the Session ID number in your communication with us.</p>
									</div>
									<div class="session_pay">
										<p><strong>My reason for disputing the session</strong></p>
										<p><textarea id="txtCommInput" style="width:600px" rows="3"></textarea><span  id="StxtCommInput"  style="color: Red;display:none" class="validMsg"><br /><%=GetText("输入字符请确定是在1到1000当中")%></span></p>
										<p><input id="btnCommInput" class="button" type="button" value="Submit Dispute"  onclick="btnsave()"/>&nbsp;&nbsp;<input id="Cancel" class="buttong" type="button" value="Cancel"  onclick="cucancel()"/></p>
									</div>
								</div>
							</div>
					</div>
					<%}else{ %><p>The action is not valid now.</p>
<p><a href="<%=WWWHost%>/session/session.htm?sid=<%=sid %>">Return the session and check the action required</a></p><%} %>
					<div class="clear"></div>
				</div>
			</div>
			<div id="body_right"></div>
			<div class="clear"></div>
		</div>
		<div id="body_900F"></div>
	</div>
</div>
<%if(isshow){ %>
<script>
var sid=<%=sid %>;
var memberno="<%=Memberno %>";
var sname='<%=Escape(sm.SNickname) %>';
var tname='<%=Escape(sm.TNickname) %>';
</script>
<%} %>
